package com.kingint.mbg.bas.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 打卡月统计表
 * </p>
 *
 * @author wxh
 * @since 2021-01-23
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="UmsClockMonth对象", description="打卡月统计表")
public class UmsClockMonth implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "用户id")
    @TableField("ums_id")
    private Long umsId;

    @ApiModelProperty(value = "酒店id")
    @TableField("hotel_id")
    private Integer hotelId;

    @TableField("clock_month")
    private Integer clockMonth;

    @ApiModelProperty(value = "统计当前月份的打卡记录('_'代表间隔，0代表矿工，1正常打卡，2代表迟到)，共31个（“0_0_0”）")
    @TableField("days")
    private String days;

    @ApiModelProperty(value = "这个月迟到次数")
    @TableField("all_late")
    private Integer allLate;

    @ApiModelProperty(value = "这个月矿工次数")
    @TableField("all_absent")
    private Integer allAbsent;

    @ApiModelProperty(value = "创建时间")
    @TableField("create_time")
    private Date createTime;

    @ApiModelProperty(value = "逻辑删除（0是正常，1删除）")
    @TableField("status")
    private Integer status;


}
